package Example3;

import static org.junit.Assert.assertTrue;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class GameTest {
	
	private TicTacToe game;
	
	@Before
	public void setUp(){
		this.game = new TicTacToe();
	}
	
	@After
	public void tearDow(){
		this.game = null;
	}

//	@Test
//	public void testGameOverFieldTaken() {
//		fillBoard(game);
//		boolean areFieldsTaken = this.game.areAllFieldsTaken();
//		
//		assertTrue("All fields taken", areFieldsTaken);
//	}
//	
//	public void fillBoard(TicTacToe game){
//		char[][] board = game.getBoard();
//		for(int i =0; i<3; i++){
//			for(int j = 0; j <3; j++){
//					board[i][j] = 'x';
//			}
//		}
//	}
	@Test
	public void testPlayerCanTakeField(){
		boolean isFieldTaken = false;
		
		
		assertTrue("Field is already taken", !isFieldTaken);
	}

}
